function showPic(whichPic){
		var resource = whichPic.getAttribute("href");
		var placeholder = document.getElementById("placeholder");
		placeholder.setAttribute("src",resource);
		var text = whichPic.getAttribute('title');
		var description = document.getElementById('description');
		description.firstChild.nodeValue = text;
	}
function countBodyChildren(){
	var body_element = document.getElementsByTagName("body")[0];
	alert(body_element.childNodes.length);
}
//window.onload = countBodyChildren;